<template>
  <div class="vocational-education">
    <div class="content" v-for="(item, index) in EducationList" :key="index">
      <img :src="item.src" alt="" />
      <p class="blod">{{ item.p1 }}</p>
      <p class="gray">{{ item.p2 }}</p>
      <p class="gray">{{ item.p3 }}</p>
    </div>
  </div>
</template>

<script>
export default {
  name: "VocationalEducation",
  props: {
    EducationList: Array,
  },
  data() {
    return {};
  },
};
</script>

<style lang="less" scoped>
.vocational-education {
  width: 60%;
  margin: 0 auto;
  display: flex;

  .content {
    flex: 1;
    p {
      text-align: center;
      font-size: 15px;
    }
    .blod {
      font-weight: bold;
      margin-top: 30px;
    }
    .gray {
      color: #adada5;
    }
  }
  .content:nth-child(1) {
    padding-right: 20px;
  }
  .content:nth-child(2) {
    padding: 0 20px;
  }
  .content:nth-child(3) {
    padding: 0 20px;
  }
}
</style>